﻿<%@ Page Language="C#" EnableViewState="false" CodeBehind="Details.aspx.cs" Inherits="FisheryPlatform.Web.WWW.Product.Details" %>

<%@ Register TagName="Style" TagPrefix="Menu" Src="~/Modules/Menu/StyleMenu.ascx" %>
<%@ Register TagName="PageBar" TagPrefix="ucPB" Src="~/Modules/PageBar.ascx" %>
<%@ Register TagName="ShareCode" TagPrefix="pl" Src="~/Modules/Layer/PopupLayer.ascx" %>
<%@ Register TagName="SimpleHeader" TagPrefix="Menu" Src="~/Modules/Menu/SimpleHeader.ascx" %>
<%@ Register TagName="Footer" TagPrefix="Menu" Src="~/Modules/Menu/FooterMenu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <Menu:Style runat="server" ID="menuStyle" Title=""></Menu:Style>
</head>
<body>
    <div class="wrapper">
        <Menu:SimpleHeader runat="server" ID="menuSimpleHeader" />
        <div class="content">
            <h3 class="pro_title">
                <%= HttpUtility.HtmlEncode(productInfo.Title)%>(信息编码-<%=Request.QueryString["proCode"]%>)<span
                    class="pro_pub_date">&nbsp;<%= productInfo.CreateDate.ToString() %></span></h3>
            <div class="pro_detail">
                <div class="pro_info">
                    <ul>
                        <li>类别：<%=HttpUtility.HtmlEncode(FisheryPlatform.Bussiness.ShareCode.ShareCodeManager.GetShareCodeById(productInfo.CategoryId).Name)%></li>
                        <li>地点：<%=HttpUtility.HtmlEncode(FisheryPlatform.Bussiness.ShareCode.ShareCodeManager.GetShareCodeById(productInfo.AreaId).Name)%></li>
                        <li>供需：<%= HttpUtility.HtmlEncode(productInfo.Type == 1 ? "出售" : "求购")%>
                        </li>
                        <li>价格：<%= productInfo.MinPrice %>-<%=productInfo.MinPrice %>
                            元 </li>
                    </ul>
                </div>
                <div class="pro_contact">
                    <ul>
                        <li>联系人：<span id="sp_Contact"><%= HttpUtility.HtmlEncode(RealName) %></span></li>
                        <li>联系电话：<img id="Img1" src="/Ajax/ContactInfo.ashx?rn=<%=new Random().NextDouble()%>" title="" /></li>
                    </ul>
                </div>
            </div>
            <div class="left">
                <h3>
                    描述：</h3>
                <div>
                    <%= HttpUtility.HtmlEncode(productInfo.Description) %></div>
            </div>
            <div class="right">
                <div class="col">
                    <ul>
                        <li>&nbsp;</li>
                    </ul>
                </div>
            </div>
        </div>
        <Menu:Footer runat="server" ID="menuFooter" />
    </div>
</body>
</html>
